#include <string>
#include <vector>
#include <stdint.h>

class Member {
public:
    Member(){};
    ~Member(){};
    std::string GetName();

public:
    std::string name;
    char sex;
    uint32_t age;
    std::string teleNum;
    std::string addr;
};

class MemberManager {
public:
    MemberManager();
    ~MemberManager();
public:
    void ShowMenu();
    void AddMember();
    void ShowMember(const Member& member);
    void DelMember(std::string name);
    void ModMember(std::string name, const int age);
    void FindMember(std::string name);
    void ClearMember();
    void ShowMemberList();

public:
    std::vector<Member> memberList;
};
